import api from "@/service/api";
import validate from "./lib/validate";
import { confirm } from "./lib/confirm";

const plugins: any = {};
plugins.install = function(Vue: any) {
  Vue.prototype.$api = api;
  Vue.prototype.$validate = validate;
  Vue.prototype.$confirm = confirm;
};

export default plugins;
